package com.bs.entity;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * UserPrivilege entity. @author MyEclipse Persistence Tools
 */

public class UserPrivilege implements java.io.Serializable {

	// Fields

	private Long privilegeId;
	private Long privilegeNo;
	private String roleName;
	private Set userInfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public UserPrivilege() {
	}

	/** full constructor */
	public UserPrivilege(Long privilegeNo, String roleName, Set userInfos) {
		this.privilegeNo = privilegeNo;
		this.roleName = roleName;
		this.userInfos = userInfos;
	}

	// Property accessors

	
	public String getRoleName() {
		return this.roleName;
	}

	public Long getPrivilegeId() {
		return privilegeId;
	}

	public void setPrivilegeId(Long privilegeId) {
		this.privilegeId = privilegeId;
	}

	public Long getPrivilegeNo() {
		return privilegeNo;
	}

	public void setPrivilegeNo(Long privilegeNo) {
		this.privilegeNo = privilegeNo;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Set getUserInfos() {
		return this.userInfos;
	}

	public void setUserInfos(Set userInfos) {
		this.userInfos = userInfos;
	}

}